package com.sneakxy.cloudbase.platform.bean.dto;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@ApiModel("角色树")
@EqualsAndHashCode
@JsonIgnoreProperties(ignoreUnknown = true)
public class RoleTreeDTO {
	
	@ApiModelProperty("ID")
	private String id;
	
	@ApiModelProperty("国际化")
	private String i18n;
	
	@ApiModelProperty("是否打开")
	private boolean open;
	
	@ApiModelProperty("不被选择")
	private boolean nocheck;
	
	@ApiModelProperty("下级权限树信息")
	private List<PermissionDTO> children;
	
	@ApiModelProperty("角色拥有权限")
	private List<String> perms;

}
